package com.yj.rselasticsearch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yj.common.core.domain.entity.RetrievalRecord;
import com.yj.rselasticsearch.domain.dto.RetrievalRecordDto;
import com.yj.rselasticsearch.domain.vo.RetrievalRecordVo;

public interface RetrievalRecordService extends IService<RetrievalRecord> {


    int deleteByPrimaryKey(Integer id);

    int insert(RetrievalRecord record);

    int insertSelective(RetrievalRecord record);

    RetrievalRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RetrievalRecord record);

    int updateByPrimaryKey(RetrievalRecord record);

    /**
     * 分页统计查询搜索信息
     * @param retrievalRecordDto
     * @return
     */
    IPage<RetrievalRecordVo> getRetrievalRecordList(RetrievalRecordDto retrievalRecordDto);
}
